Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add View History link in QA #1331

Merged
merged 6 commits into from
Jan 30, 2025
Merged

Add View History link in QA #1331

merged 6 commits into from
Jan 30, 2025

Conversation

aapomm
Copy link
Contributor

@aapomm aapomm commented Jan 22, 2025

Spec

If a user doing QA on an issue/content block wants to see the history, they will have to navigate out of the QA page, find the relevant record and click on it. Only then will they have access to the revisions history of the record. This takes a lot of clicks when we can just add a link to the revision history in the QA#show.

Proposed solution

  • Add View history button to the QA Issues and Content blocks show pages
  • Dynamically render the revisions breadcrumbs depending on where the user is coming from
    • If the user is from the QA page, render breadcrumbs that link to QA pages
    • Otherwise, render the breadcrumbs that link to the non-QA page

Check List

  • Added a CHANGELOG entry

@aapomm aapomm changed the title QA revisions Add View History link in QA Jan 23, 2025
app/helpers/revisions_helper.rb Outdated Show resolved Hide resolved
app/views/revisions/show.html.erb Outdated Show resolved Hide resolved
@aapomm aapomm merged commit c1c227a into develop Jan 30, 2025
2 of 3 checks passed
@aapomm aapomm deleted the qa/revisions branch January 30, 2025 09:38
@aapomm aapomm restored the qa/revisions branch January 30, 2025 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants